

.preloader-modal{
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: #333;
    top: 50%;
    left: 50%;
    border-radius: 5px;
}


.preloader-modal .preloader{
    width: 20px;
    height: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -10px;
    margin-top: -20px;
}

.preloader-modal .preloader-text{
    position: absolute;
    top: 55px;
    text-align: center;
    padding: 0 10px;
    color: #fff;
    font-size: 14px;
}

.preloader-modal .preloader-close-btn{
    position: absolute;
    right: -5px;
    top: -5px;
    width: 20px;
    height: 20px;
    background-color: #333;
    border:1px solid #fff;
    border-radius: 50%;
}


.preloader-modal .preloader-close-btn:after{
    content: '';
    display: block;
    width: 8px;
    border:1px solid #fff;;
    position: absolute;
    transform:rotate(45deg);
    -webkit-transform:rotate(45deg);

    left: 4px;
    top: 8px;

}



.preloader-modal .preloader-close-btn:before{
    content: '';
    display: block;
    width: 8px;
    border:1px solid #fff;;
    position: absolute;
    transform:rotate(-45deg);
    -webkit-transform:rotate(-45deg);

    left: 4px;
    top: 8px;

}

/**************************************************/

.modal.dialog-modal {
    width: 70%;
    left: 50%;
    top: 50%;
    text-align: center;
    border-radius: 7px;
    opacity: 0;
    -webkit-transform: translate3d(-50%,-50%,0) scale(1.185);
    transform: translate3d(-50%,-50%,0) scale(1.185);
    color: #000;
    display: none
}

.modal-inner {
    padding: 15px;
    border-radius: 7px 7px 0 0;
    position: relative;
    background: #fff;
}

.modal-inner:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: auto;
    top: auto;
    height: 1px;
    width: 100%;
    background-color: #b5b5b5;
    display: block;
    z-index: 15;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%
}

.modal-title {
    font-weight: 500;
    font-size: 18px;
    text-align: center
}

.modal-title+.modal-text {
    margin-top: 5px
}

.modal-buttons {
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center
}

.modal-button {
    width: 100%;
    padding: 0 5px;
    height: 44px;
    font-size: 17px;
    line-height: 44px;
    text-align: center;
    color: #29cadf;
    background: #fff;;
    display: block;
    position: relative;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-box-flex: 1;
    -ms-flex: 1
}

.modal-button:active {
    background-color: #d4d4d4
}

.modal-button:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    left: auto;
    bottom: auto;
    width: 1px;
    height: 100%;
    background-color: #b5b5b5;
    display: block;
    z-index: 15;
    -webkit-transform-origin: 100% 50%;
    transform-origin: 100% 50%
}

.modal-button:last-child:after {
    display: none
}

.modal-button:first-child:last-child {
    border-radius: 0 0 7px 7px
}

.modal-button.modal-button-bold {
    font-weight: 500
}

.modal-button:last-child {
    border-radius: 0 0 7px 0
}

.modal-button:first-child {
    border-radius: 0 0 0 7px
}




.modal.modal-in {
    opacity: 1;
    -webkit-transform: translate3d(-50%,-50%,0) scale(1);
    transform: translate3d(-50%,-50%,0) scale(1)
}

.modal.modal-out {
    opacity: 0;
    z-index: 10999;
    -webkit-transform: translate3d(-50%,-50%,0) scale(.815);
    transform: translate3d(-50%,-50%,0) scale(.815)
}

.modal {
    position: absolute;
    z-index: 11000;
    -webkit-transition-duration: .4s;
    transition-duration: .4s;
    -webkit-transition-property: -webkit-transform,opacity;
    transition-property: transform,opacity
}
/******************overlay************************/
.modal-overlay{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 10600;
    visibility: hidden;
    opacity: 0;
    -webkit-transition-duration: 400ms;
    transition-duration: 400ms
}

.modal-overlay.modal-overlay-visible{
    visibility: visible;
    opacity: 1
}









